package com.jiali.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiali.backend.common.ResponseResult;
import com.jiali.backend.controller.request.ReviewRequest;
import com.jiali.backend.model.Review;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;

@Service
public interface ReviewService extends IService<Review> {
    //新增评论
    ResponseResult<Review> createReview(ReviewRequest reviewRequest, HttpServletRequest request);
   //
    ResponseResult<Review> getReviewByOrderId(Integer orderId);
}